package com.ruoyi.api.domain.recipe;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 食谱类别对象 recipe_category
 * 
 * @author ruoyi
 * @date 2024-11-10
 */
public class CategoryEntity
{
    private static final long serialVersionUID = 1L;

    /** 食谱类别ID */
    private Long categoryId;

    /** 食谱类别 */
    private String categoryName;

    /** 食谱类别图片 */
    private String categoryPic;

    /** 食谱类别排序 */
    private String categorySort;

    /** 食谱类别状态（0正常 1停用） */
    private String status;

    /** 标签ID */
    private Long tagId;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public String getCategoryPic() {
        return categoryPic;
    }

    public void setCategoryPic(String categoryPic) {
        this.categoryPic = categoryPic;
    }

    public String getCategorySort() {
        return categorySort;
    }

    public void setCategorySort(String categorySort) {
        this.categorySort = categorySort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setTagId(Long tagId)
    {
        this.tagId = tagId;
    }

    public Long getTagId()
    {
        return tagId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("categoryPic", getCategoryPic())
            .append("categorySort", getCategorySort())
            .append("status", getStatus())
            .toString();
    }
}
